addmenuseparator
Inserts a separator in the given menu in the Compose user interface. addmenuseparator is only available in the Compose GUI.
Syntax
addmenuseparator(uiPopupMenu)
Inputs
- uiPopupMenu
- The handle of the menu.
Examples
pm=addribbonmenu('Test'); % create a 'Test' ribbon page as menu
ab = addmenuitem(pm,'Show Test Label','Show Test','HandleTest','','');
addmenuseparator(pm); % add a menu separator
ac = addmenuitem('Test','Show Test Label 1', 'Show Test 1','HandleTest_1','','');